package work.huangxin.share.mapper;


import org.apache.ibatis.annotations.*;
import tk.mybatis.mapper.common.BaseMapper;
import work.huangxin.share.domain.manhe.Manhe;
import work.huangxin.share.domain.schedule.NoteInfo;

import java.util.List;

/**
 * @author: 张锦标
 * @date: 2023/5/12 12:12
 * ManheMapper类
 */
@Mapper
public interface ManheMapper extends BaseMapper<Manhe> {





    @Update("update manhe set deleted = 1 where id = #{id}")
    int deleteById(Long id);


    Manhe get(String sex);

    List<Manhe> selectAll1();

    List<Manhe> getManList(@Param("sex") String sex);

    int deleteCacheById(@Param("id") Long id);

    int getAllCount();

    List<Manhe> selectPageUserList(Manhe manhe);

    Manhe getDetail(@Param("id") Long id);

    int addManHe(Manhe manhe);
}
